package cn.hsa.fqz.task.dao;

import cn.hsa.fqz.task.controller.vo.TTaskWorkReportQueryVO;
import cn.hsa.fqz.task.entity.TTaskWorkReportDetail;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TTaskWorkReportDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TTaskWorkReportDetail record);

    int insertSelective(TTaskWorkReportDetail record);

    TTaskWorkReportDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTaskWorkReportDetail record);

    int updateByPrimaryKey(TTaskWorkReportDetail record);

    List<TTaskWorkReportDetail> getDetailsPageByCondition(@Param("param") TTaskWorkReportQueryVO.Condition condition,
                                                          @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}